package com.cc.mapper;

import com.cc.pojo.CLazz;
import com.cc.pojo.EmpQueryParam;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ClazzsMapper {
    List<CLazz> list(EmpQueryParam empQueryParam);

    @Delete("delete from clazz where id=#{id}")
    void delect(Integer id);

    void add(CLazz clazz);

    CLazz getID(Integer id);

    void update(CLazz clazz);




    List<CLazz> findAll();
}
